import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

export default new VueRouter({
    routes: [
        {
            path:"/",
            component:()=> import("@/view/index.vue")
        },
        {
            path:"/shopdetail/:id",
            props:true,
            component:()=> import("@/view/shopdetail.vue")
        }
    ]
})